package com.jic.market.entity.coupon;

import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 优惠券商品关联表
 * @author : seven
 * @email : 774329481@qq.com
 * @since : 2020-03-15 08:24:22
 * @version : v1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CouponGoods implements Serializable {
    private static final long serialVersionUID = 1L;

    //主键ID
    private long id;
//优惠券id
    private String promotionId;
    //商品所属平台
    private String childPlatformId;
    //商家Id
    private String merchantId;
    //商家名称
    private String merchantName;
    //店铺Id
    private String storeId;
    //店铺名称
    private String storeName;
    private String spuId;
    //优惠关联的商品id
    private String goodsId;
    //商品名称
    private String goodsName;
    //商品分类
    private String goodsType;
    //商品价格
    private String price;
    //创建人
    private long creator;
    //修改人
    private long updater;
    //是否删除 0否，1是
    private Boolean deleteFlag;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;
    //创建人姓名
    private String creatorName;
    //更新人姓名
    private String updatorName;
    //平台Id
    private String roleDeptId;
    //商家Id
    private String roleMerchantId;
    //店铺Id
    private String roleStoreId;

    //库存
    private String reserveNum;

    //是否互斥 0:否 1:是
    private Integer mutexFlag;

    // 活动库存
    private Integer stockLimit;

    //订单限购
    private Integer orderLimit;

    //个人限购
    private Integer individualLimit;
    
}